#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2020 crane <crane@sharp>
#
# Distributed under terms of the MIT license.

"""

"""

import math

def test():
    total = 10000000

    s = 0
    for i in range(total // 2):
        s += int( math.log2(i+1) )

    print(s)
    print(math.log2(total))

    print(s/math.log2(total) - total // 2)



def main():
    print("start main")
    test()

if __name__ == "__main__":
    main()
